<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>test error</title>
	<p> i am hiding  in head u cant see me !!!</p>
</head>
<body>
	...
	<div>
		sfs
	</div>
	<script>
		console.log(test)
	</script>
	<div>
		fsf
	</div>
	<script>
		console.log(test);
		var test='fsfs'
		console.log(test);

	</script>
	<span>fsafs</span>
	<script>
		console.log(test);
	</script>
</body>
</html>